 const breadAbout = {
    namespaced: true,
    state : {
        bread: {
            level1: {
              name:'首页',
              path: ''
            },
            level2: {
              name:'',
              path: ''
            },
            level3: {
              name:'',
              path: ''
            },
          }
    },
    actions: {
        changeBread({commit},value) {
            console.log('action');
            commit('changeBread',value)
        }
    },
    mutations: {
        changeBread(state,value) {
            console.log('mutition');
            state.bread.level1.name = value.level1.name
            state.bread.level1.path = value.level1.path
            state.bread.level2.name = value.level2.name
            state.bread.level2.path = value.level2.path
            state.bread.level3.name = value.level3.name
            state.bread.level3.path = value.level3.path
        }
    }
}
export default breadAbout